
#include <librally.h>

void rp_rpointd_hb()
{
	Err err;
	Info info;
	size_t size;
	
	// setup TCP connection with rindexd
	err = rp_comm_connect_tcp(&g_addr_rindexd, &g_fd_rindexd);

	// Event init
	// start the loop
	for (;;)
	{
		err = rp_rpointd_info(&info);			// Get the file & host info
		err = rp_comm_send(g_fd_rindexd, &info, size);
	}

}

Err rp_rpointd_hb_run()
{
	Err err;
}


